from comment_class import Comment

def delete ( liwe, id_comment = 0, ids = "" ):
	"""
	:INPUT:
		- id_comment	SAFE_DB_NUMBER
		- ids		SAFE_DB_STRING
	"""

	c = Comment ( liwe )
	c.del_comment ( id_comment = id_comment, ids = ids )

def get_modules ( liwe  ): 
	"""
	:INPUT:
	"""
	c = Comment ( liwe )
	id_site = c.site_id
	mods = c.get_modules ( id_site )
	if not mods :
		mods = []
	return { "modules" : mods }
